package com.zxc.csms.service.impl;

import javax.ejb.Stateless;

import com.zxc.csms.service.SystemServiceLocal;
import com.zxc.csms.service.SystemServiceRemote;

@Stateless
public class SystemService implements SystemServiceLocal, SystemServiceRemote {

	/**
	 * 验证登陆信息
	 */
	@Override
	public int checkLogin(String userName, String password) {
		if ("1".equals(userName) && "1".equals(password)) {
			return 1;
		} else {
			return 0;
		}
	}

}
